/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mapfinal.portal.model.base;

import com.jfinal.plugin.activerecord.IBean;

import com.lambkit.common.model.BaseModel;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2019-05-23
 * @version 1.0
 * @since 1.0
 */
@SuppressWarnings("serial")
public abstract class BaseArticle<M extends BaseArticle<M>> extends BaseModel<M> implements IBean {

	public String getTableName() {
		return "cms_article";
	}
    
	public java.lang.Long getId() {
		return this.get("id");
	}

	public void setId(java.lang.Long id) {
		this.set("id", id);
	}
	public java.lang.Integer getPid() {
		return this.get("pid");
	}

	public void setPid(java.lang.Integer pid) {
		this.set("pid", pid);
	}
	public java.lang.String getSlug() {
		return this.get("slug");
	}

	public void setSlug(java.lang.String slug) {
		this.set("slug", slug);
	}
	public java.lang.String getTitle() {
		return this.get("title");
	}

	public void setTitle(java.lang.String title) {
		this.set("title", title);
	}
	public java.lang.String getContent() {
		return this.get("content");
	}

	public void setContent(java.lang.String content) {
		this.set("content", content);
	}
	public java.lang.String getEditMode() {
		return this.get("edit_mode");
	}

	public void setEditMode(java.lang.String editMode) {
		this.set("edit_mode", editMode);
	}
	public java.lang.String getSummary() {
		return this.get("summary");
	}

	public void setSummary(java.lang.String summary) {
		this.set("summary", summary);
	}
	public java.lang.String getLinkTo() {
		return this.get("link_to");
	}

	public void setLinkTo(java.lang.String linkTo) {
		this.set("link_to", linkTo);
	}
	public java.lang.String getFromurl() {
		return this.get("fromurl");
	}

	public void setFromurl(java.lang.String fromurl) {
		this.set("fromurl", fromurl);
	}
	public java.lang.String getThumbnail() {
		return this.get("thumbnail");
	}

	public void setThumbnail(java.lang.String thumbnail) {
		this.set("thumbnail", thumbnail);
	}
	public java.lang.String getStyle() {
		return this.get("style");
	}

	public void setStyle(java.lang.String style) {
		this.set("style", style);
	}
	public java.lang.Long getUserId() {
		return this.get("user_id");
	}

	public void setUserId(java.lang.Long userId) {
		this.set("user_id", userId);
	}
	public java.lang.Long getOrderNumber() {
		return this.get("order_number");
	}

	public void setOrderNumber(java.lang.Long orderNumber) {
		this.set("order_number", orderNumber);
	}
	public java.lang.String getStatus() {
		return this.get("status");
	}

	public void setStatus(java.lang.String status) {
		this.set("status", status);
	}
	public java.lang.Integer getCommentStatus() {
		return this.get("comment_status");
	}

	public void setCommentStatus(java.lang.Integer commentStatus) {
		this.set("comment_status", commentStatus);
	}
	public java.lang.Long getCommentCount() {
		return this.get("comment_count");
	}

	public void setCommentCount(java.lang.Long commentCount) {
		this.set("comment_count", commentCount);
	}
	public java.util.Date getCommentTime() {
		return this.get("comment_time");
	}

	public void setCommentTime(java.util.Date commentTime) {
		this.set("comment_time", commentTime);
	}
	public java.lang.Long getViewCount() {
		return this.get("view_count");
	}

	public void setViewCount(java.lang.Long viewCount) {
		this.set("view_count", viewCount);
	}
	public java.util.Date getCreated() {
		return this.get("created");
	}

	public void setCreated(java.util.Date created) {
		this.set("created", created);
	}
	public java.util.Date getModified() {
		return this.get("modified");
	}

	public void setModified(java.util.Date modified) {
		this.set("modified", modified);
	}
	public java.lang.String getFlag() {
		return this.get("flag");
	}

	public void setFlag(java.lang.String flag) {
		this.set("flag", flag);
	}
	public java.lang.String getMetaKeywords() {
		return this.get("meta_keywords");
	}

	public void setMetaKeywords(java.lang.String metaKeywords) {
		this.set("meta_keywords", metaKeywords);
	}
	public java.lang.String getMetaDescription() {
		return this.get("meta_description");
	}

	public void setMetaDescription(java.lang.String metaDescription) {
		this.set("meta_description", metaDescription);
	}
	public java.lang.String getRemarks() {
		return this.get("remarks");
	}

	public void setRemarks(java.lang.String remarks) {
		this.set("remarks", remarks);
	}
}
